﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Job Posting/JobPosting.master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="HRdex_Final.Job_Posting.WebForm1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    <script runat="Server" type="text/C#">
        [System.Web.Services.WebMethod]
        [System.Web.Script.Services.ScriptMethod]
        public static AjaxControlToolkit.Slide[] GetSlides()
        {
            AjaxControlToolkit.Slide[] imgSlide = new AjaxControlToolkit.Slide[4];
            
            imgSlide[0] = new AjaxControlToolkit.Slide("Images/about1.jpg", "adu1", "1");
            imgSlide[1] = new AjaxControlToolkit.Slide("Images/about2.jpg", "adu2", "2");
            imgSlide[2] = new AjaxControlToolkit.Slide("Images/about3.jpg", "adu3", "3");
            imgSlide[3] = new AjaxControlToolkit.Slide("Images/about4.jpg", "adu4", "4");
            return(imgSlide);
        }
    </script>

  

<div align="center">
    <h1 style="color: rgb(37, 75, 124); font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif; font-size: 25px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://www.adamson.edu.ph/?page=viewnews&amp;newsid=289" >HRMDO orients employees on new classification and promotion system</asp:HyperLink>
</h1>
</div>

<div style='float:left;'>
    <asp:Image ID="img1" runat="server" CssClass="Image" width="400px" Height="400px" ImageUrl="~/Images/about1.jpg" />
    <asp:SlideShowExtender ID="SlideShowExtender1" runat="server"
            BehaviorID="SSBehaviorID"
            TargetControlID="img1"
            SlideShowServiceMethod="GetSlides"
            AutoPlay="true"
            Loop="true"
            enabled="true" UseContextKey="True">
    </asp:SlideShowExtender>

</div>

<div class="box" 
        style="font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-style: normal; color: #000000">
<br />
    <span style="color: rgb(121, 121, 121); font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">
    &nbsp;&nbsp;&nbsp;
    Finding a job that matches one&#39;s skills and<br />
    <br />
&nbsp;competencies is one big challenge 
    for fresh graduates.<br />
    <br />
    The University realizes this need and tries to make 
    job-<br />
    <br />
    hunting less difficult and more attuned to contemporary<br />
    <br />
    trends via an online 
    posting of job openings, employers,<br />
    <br />
&nbsp;and even career hubs. Job openings in the 
    University as<br />
    <br />
&nbsp;well as those of close industry partners are also<br />
    <br />
    announced.</span>
    <br />
    <br />
    <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/ListofJobs.aspx">Apply Now!</asp:LinkButton>
    <br />
    <br />
    <asp:Image ID="Image2" runat="server" Height="100px" Width="105px" 
        ImageUrl="~/Images/addyou.jpg" />

    <asp:Label ID="Label1" runat="server" Text="Add yoUrself and Soar High!"></asp:Label>
    <asp:Image ID="Image3" runat="server" Height="100px" 
        ImageUrl="~/Images/images.jpg" Width="105px" />

</div>



<%--<div class="box">
    <h2 style="color: rgb(37, 75, 124); outline-color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(246, 246, 246); ">
        Academic Positions</h2>
    <asp:DataList ID="dlJobs" runat="server" DataKeyField="JobID" 
        DataSourceID="jobs" Width="113px">
        <ItemTemplate>
            <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' />
            <br />
        </ItemTemplate>
    </asp:DataList>
</div>
  <asp:SqlDataSource ID="jobs" runat="server" 
        ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>"     
        SelectCommand="SELECT Title AS Expr2, catJobTitle.*, JobID AS Expr1, Description AS Expr3, Skills AS Expr4, DatePosted AS Expr5, JobType AS Expr6 FROM catJobTitle">
  </asp:SqlDataSource>
--%>

</asp:Content>
